package com.ad.advertiser.service.impl;

import java.util.List;

import com.ad.advertiser.dao.IAdsDAO;
import com.ad.advertiser.entity.Ads;
import com.ad.advertiser.service.IAdService;

public class AdServiceImpl implements IAdService {
	private IAdsDAO adsDAO ;
	public IAdsDAO getAdsDAO() {
		return adsDAO;
	}

	public void setAdsDAO(IAdsDAO adsDAO) {
		this.adsDAO = adsDAO;
	}

	@Override
	public Ads getAdsById(Integer userId, Integer id) {
		
		return null;
	}

	@Override
	public List<Ads> getAllAds(Integer userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Ads> getNotOverAds(Integer userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Ads> getOverAds(Integer userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Ads> getRejectAds(Integer userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void save(Ads ads) {
		this.adsDAO.save(ads);
		
	}

	@Override
	public void saveOrUpdate(Ads ads) {
		// TODO Auto-generated method stub
		
	}
	
	
	
}
